package com.vinoxm.admin;

import com.vinoxm.common.core.application.InterceptorApplication;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import com.vinoxm.admin.handler.GlobalInterceptor;

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.vinoxm.admin.dao")
public class AuthApplication extends InterceptorApplication {
    public static void main(String[] args) {
        SpringApplication.run(AuthApplication.class, args);
    }
}